const routes = [
    {
        path: '/',
        redirect: '/indexcx'
    },
    /**
     * 个人会员路由
     */
    {
        path: '/indexgr',
        redirect: '/grzhxx'
    },
    {
        path: '/indexgr',
        name: 'indexgr',
        meta: {
            title: '个人会员首页'
        },
        component: resolve => require(['../pages/grhy/index.vue'], resolve),
        children: [
            {
                path: '/grjbxx',
                name: 'grjbxx',
                meta: {
                    title: '基本信息'
                },
                component: resolve => require(['../pages/grhy/grjbxx.vue'], resolve),
            },
            {
                path: '/grzhxx',
                name: 'grzhxx',
                meta: {
                    title: '账号信息'
                },
                component: resolve => require(['../pages/grhy/grzhxx.vue'], resolve),
            },
            {
                path: '/grjnhf',
                name: 'grjnhf',
                meta: {
                    title: '缴纳会费'
                },
                component: resolve => require(['../pages/grhy/grjnhf.vue'], resolve),
            },
            {
                path: '/grjnhf_xq1',
                name: 'grjnhf_xq1',
                meta: {
                    title: '缴纳会费详情'
                },
                component: resolve => require(['../pages/grhy/grjnhf_xq1.vue'], resolve),
            },
            {
                path: '/grjnhf_xq2',
                name: 'grjnhf_xq2',
                meta: {
                    title: '缴纳会费提交'
                },
                component: resolve => require(['../pages/grhy/grjnhf_xq2.vue'], resolve),
            },
            {
                path: '/grjnhf_xq3',
                name: 'grjnhf_xq3',
                meta: {
                    title: '缴纳会费提交凭证'
                },
                component: resolve => require(['../pages/grhy/grjnhf_xq3.vue'], resolve),
            },
            {
                path: '/grkclb',
                name: 'grkclb',
                meta: {
                    title: '课程列表'
                },
                component: resolve => require(['../pages/grhy/grkclb.vue'], resolve),
            },
            {
                path: '/grwdkc',
                name: 'grwdkc',
                meta: {
                    title: '我的课程'
                },
                component: resolve => require(['../pages/grhy/grwdkc.vue'], resolve),
            },
            {
                path: '/spbf',
                name: 'spbf',
                meta: {
                    title: '我的课程'
                },
                component: resolve => require(['../pages/grhy/spbf.vue'], resolve),
            },
            {
                path: '/grxszm',
                name: 'grxszm',
                meta: {
                    title: '学时证明'
                },
                component: resolve => require(['../pages/grhy/grxszm.vue'], resolve),
            },
            {
                path: '/grhybm',
                name: 'grhybm',
                meta: {
                    title: '会议报名'
                },
                component: resolve => require(['../pages/grhy/grhybm.vue'], resolve),
            },
            {
                path: '/grhybmxq_1',
                name: 'grhybmxq_1',
                meta: {
                    title: '会议报名详情'
                },
                component: resolve => require(['../pages/grhy/grhybmxq_1.vue'], resolve),
            },
            {
                path: '/grhybmxq_2',
                name: 'grhybmxq_2',
                meta: {
                    title: '会议报名提交'
                },
                component: resolve => require(['../pages/grhy/grhybmxq_2.vue'], resolve),
            },
            {
                path: '/grhyjl',
                name: 'grhyjl',
                meta: {
                    title: '会议记录'
                },
                component: resolve => require(['../pages/grhy/grhyjl.vue'], resolve),
            },
            {
                path: '/grbmjlxq_1',
                name: 'grbmjlxq_1',
                meta: {
                    title: '会议记录详情'
                },
                component: resolve => require(['../pages/grhy/grbmjlxq_1.vue'], resolve),
            },

            {
                path: '/grwjdc',
                name: 'grwjdc',
                meta: {
                    title: '问卷调查'
                },
                component: resolve => require(['../pages/grhy/grwjdc.vue'], resolve),
            },
            {
                path: '/grwjdcxq_1',
                name: 'grwjdcxq_1',
                meta: {
                    title: '问卷调查详情'
                },
                component: resolve => require(['../pages/grhy/grwjdcxq_1.vue'], resolve),
            },
            {
                path: '/grwjdcjl',
                name: 'grwjdcjl',
                meta: {
                    title: '问卷调查记录'
                },
                component: resolve => require(['../pages/grhy/grwjdcjl.vue'], resolve),
            },
            {
                path: '/grwjdcjlxq_1',
                name: 'grwjdcjlxq_1',
                meta: {
                    title: '问卷调查记录详情'
                },
                component: resolve => require(['../pages/grhy/grwjdcjlxq_1.vue'], resolve),
            },
            {
                path: '/grbgzc',
                name: 'grbgzc',
                meta: {
                    title: '报告自测'
                },
                component: resolve => require(['../pages/grhy/grbgzc.vue'], resolve),
            },
            {
                path: '/grzntz',
                name: 'grzntz',
                meta: {
                    title: '站内通知'
                },
                component: resolve => require(['../pages/grhy/grzntz.vue'], resolve),
            },
            {
                path: '/grzntzxq_1',
                name: 'grzntzxq_1',
                meta: {
                    title: '站内通知详情'
                },
                component: resolve => require(['../pages/grhy/grzntzxq_1.vue'], resolve),
            },
        ]
    },
    /**
     *会员机构路由
     */
    {
        path: '/indexhy',
        redirect: '/hyjbxx'
    },
    {
        path: '/indexhy',
        name: 'indexhy',
        meta: {
            title: '会员机构首页'
        },
        component: resolve => require(['../pages/hyjg/index.vue'], resolve),
        children: [
            {
                path: '/hyjbxx',
                name: 'hyjbxx',
                meta: {
                    title: '基本信息'
                },
                component: resolve => require(['../pages/hyjg/hyjbxx.vue'], resolve),
            },
            {
                path: '/hygdxx',
                name: 'hygdxx',
                meta: {
                    title: '股东信息'
                },
                component: resolve => require(['../pages/hyjg/hygdxx.vue'], resolve),
            },
            {
                path: '/hyryxxxq_1',
                name: 'hyryxxxq_1',
                meta: {
                    title: '人员信息'
                },
                component: resolve => require(['../pages/hyjg/hyryxxxq_1.vue'], resolve),
            },
            {
                path: '/hyryxx',
                name: 'hyryxx',
                meta: {
                    title: '人员信息'
                },
                component: resolve => require(['../pages/hyjg/hyryxx.vue'], resolve),
            },
            {
                path: '/hyqtzz',
                name: 'hyqtzz',
                meta: {
                    title: '其他资质'
                },
                component: resolve => require(['../pages/hyjg/hyqtzz.vue'], resolve),
            },
            {
                path: '/hyjnhf',
                name: 'hyjnhf',
                meta: {
                    title: '缴纳会费'
                },
                component: resolve => require(['../pages/hyjg/hyjnhf.vue'], resolve),
            },
            {
                path: '/hyjnhfxq_1',
                name: 'hyjnhfxq_1',
                meta: {
                    title: '缴纳会费提示'
                },
                component: resolve => require(['../pages/hyjg/hyjnhfxq_1.vue'], resolve),
            },
            {
                path: '/hyjnhfxq_2',
                name: 'hyjnhfxq_2',
                meta: {
                    title: '缴纳会费申请提交'
                },
                component: resolve => require(['../pages/hyjg/hyjnhfxq_2.vue'], resolve),
            },
            {
                path: '/hyjnhfxq_3',
                name: 'hyjnhfxq_3',
                meta: {
                    title: '缴纳会费提交确定'
                },
                component: resolve => require(['../pages/hyjg/hyjnhfxq_3.vue'], resolve),
            },
            {
                path: '/hyzxpj',
                name: 'hyzxpj',
                meta: {
                    title: '资信评级'
                },
                component: resolve => require(['../pages/hyjg/hyzxpj.vue'], resolve),
            },
            {
                path: '/hypjjl',
                name: 'hypjjl',
                meta: {
                    title: '评级记录'
                },
                component: resolve => require(['../pages/hyjg/hypjjl.vue'], resolve),
            },
            {
                path: '/hyhybm',
                name: 'hyhybm',
                meta: {
                    title: '会议报名'
                },
                component: resolve => require(['../pages/hyjg/hyhybm.vue'], resolve),
            },
            {
                path: '/hyhybmxq_1',
                name: 'hyhybmxq_1',
                meta: {
                    title: '提示会议报名'
                },
                component: resolve => require(['../pages/hyjg/hyhybmxq_1.vue'], resolve),
            },
            {
                path: '/hyhybmxq_2',
                name: 'hyhybmxq_2',
                meta: {
                    title: '提交会议报名'
                },
                component: resolve => require(['../pages/hyjg/hyhybmxq_2.vue'], resolve),
            },
            {
                path: '/hybmjl',
                name: 'hybmjl',
                meta: {
                    title: '报名记录'
                },
                component: resolve => require(['../pages/hyjg/hybmjl.vue'], resolve),
            },
            {
                path: '/hybmjlxq_1',
                name: 'hybmjlxq_1',
                meta: {
                    title: '报名记录详情'
                },
                component: resolve => require(['../pages/hyjg/hybmjlxq_1.vue'], resolve),
            },
            {
                path: '/hywjdc',
                name: 'hywjdc',
                meta: {
                    title: '问卷调查'
                },
                component: resolve => require(['../pages/hyjg/hywjdc.vue'], resolve),
            },
            {
                path: '/hywjdcxq_1',
                name: 'hywjdcxq_1',
                meta: {
                    title: '问卷调查详情'
                },
                component: resolve => require(['../pages/hyjg/hywjdcxq_1.vue'], resolve),
            },
            {
                path: '/hydcjl',
                name: 'hydcjl',
                meta: {
                    title: '问卷调查记录'
                },
                component: resolve => require(['../pages/hyjg/hydcjl.vue'], resolve),
            },
            {
                path: '/hydcjlxq_1',
                name: 'hydcjlxq_1',
                meta: {
                    title: '问卷调查记录详情'
                },
                component: resolve => require(['../pages/hyjg/hydcjlxq_1.vue'], resolve),
            },
            {
                path: '/hybgzc',
                name: 'hybgzc',
                meta: {
                    title: '报告自测'
                },
                component: resolve => require(['../pages/hyjg/hybgzc.vue'], resolve),
            },
            {
                path: '/hyzntz',
                name: 'hyzntz',
                meta: {
                    title: '站内通知'
                },
                component: resolve => require(['../pages/hyjg/hyzntz.vue'], resolve),
            },
            {
                path: '/hyzntzxq',
                name: 'hyzntzxq',
                meta: {
                    title: '站内通知详情'
                },
                component: resolve => require(['../pages/hyjg/hyzntzxq.vue'], resolve),
            },
            {
                path: '/hyzhxx',
                name: 'hyzhxx',
                meta: {
                    title: '账号信息'
                },
                component: resolve => require(['../pages/hyjg/hyzhxx.vue'], resolve),
            },
        ]
    },

    /**
     * 专家路由
     */
    {
        path: '/indexzj',
        redirect: '/zjzhxx'
    },
    {
        path: '/indexzj',
        name: 'indexzj',
        meta: {
            title: '专家会员首页'
        },
        component: resolve => require(['../pages/zjhy/index.vue'], resolve),
        children: [
            {
                path: '/zjzhxx',
                name: 'zjzhxx',
                meta: {
                    title: '账号信息'
                },
                component: resolve => require(['../pages/zjhy/zjzhxx.vue'], resolve),
            },

            {
                path: '/zjhybm',
                name: 'zjhybm',
                meta: {
                    title: '会议报名'
                },
                component: resolve => require(['../pages/zjhy/zjhybm.vue'], resolve),
            },
            {
                path: '/zjhybmxq_1',
                name: 'zjhybmxq_1',
                meta: {
                    title: '会议报名详情'
                },
                component: resolve => require(['../pages/zjhy/zjhybmxq_1.vue'], resolve),
            },
            {
                path: '/zjhybmxq_2',
                name: 'zjhybmxq_2',
                meta: {
                    title: '会议报名提交'
                },
                component: resolve => require(['../pages/zjhy/zjhybmxq_2.vue'], resolve),
            },
            {
                path: '/zjhyjl',
                name: 'zjhyjl',
                meta: {
                    title: '会议记录'
                },
                component: resolve => require(['../pages/zjhy/zjhyjl.vue'], resolve),
            },
            {
                path: '/zjbmjlxq_1',
                name: 'zjbmjlxq_1',
                meta: {
                    title: '会议记录详情'
                },
                component: resolve => require(['../pages/zjhy/zjbmjlxq_1.vue'], resolve),
            },
            {
                path: '/zjbgzc',
                name: 'zjbgzc',
                meta: {
                    title: '报告自测'
                },
                component: resolve => require(['../pages/zjhy/zjbgzc.vue'], resolve),
            },

            {
                path: '/zjzntz',
                name: 'zjzntz',
                meta: {
                    title: '站内通知'
                },
                component: resolve => require(['../pages/zjhy/zjzntz.vue'], resolve),
            },
            {
                path: '/zjzntzxq_1',
                name: 'zjzntzxq_1',
                meta: {
                    title: '站内通知详情'
                },
                component: resolve => require(['../pages/zjhy/zjzntzxq_1.vue'], resolve),
            },
        ]
    },
    {
        path: '/indexcx',
        redirect: '/gjs'
    },

    /**
    * 查询路由
    */
    {
        path: '/indexcx',
        name: 'indexcx',
        meta: {
            title: '首页'
        },
        component: resolve => require(['../pages/chacun/index.vue'], resolve),
        children: [
            {
                path: '/gjs',
                name: 'gjs',
                meta: {
                    title: '土地估价师查询'
                },
                component: resolve => require(['../pages/chacun/gjs.vue'], resolve),
            },
            {
                path: '/djdl',
                name: 'djdl',
                meta: {
                    title: '登记代理人查询'
                },
                component: resolve => require(['../pages/chacun/djdl.vue'], resolve),
            },
            {
                path: '/djdljg',
                name: 'djdljg',
                meta: {
                    title: '登记代理机构查询'
                },
                component: resolve => require(['../pages/chacun/djdljg.vue'], resolve),
            },
            {
                path: '/tdgj',
                name: 'tdgj',
                meta: {
                    title: '土地估价机构查询'
                },
                component: resolve => require(['../pages/chacun/tdgj.vue'], resolve),
            },
            {
                path: '/yjzj',
                name: 'yjzj',
                meta: {
                    title: '业界专家查询'
                },
                component: resolve => require(['../pages/chacun/yjzj.vue'], resolve),
            },
            {
                path: '/zxdj',
                name: 'zxdj',
                meta: {
                    title: '资信等级查询'
                },
                component: resolve => require(['../pages/chacun/zxdj.vue'], resolve),
            },

        ]
    },
    {
        path: '/cxxq',
        name: 'cxxq',
        meta: {
            title: '查询详情'
        },
        component: resolve => require(['../pages/chacun/chaxunxq.vue'], resolve),
    },

    {
        path: '/jbxq',
        name: 'jbxq',
        meta: {
            title: '查询基本详情'
        },
        component: resolve => require(['../pages/chacun/jibenxq.vue'], resolve),
    },
    {
        path: '/bgxq',
        name: 'bgxq',
        meta: {
            title: '查询表格详情'
        },
        component: resolve => require(['../pages/chacun/bgxq.vue'], resolve),
    },
    {
        path: '/zjxq',
        name: 'zjxq',
        meta: {
            title: '查询详情(专家)'
        },
        component: resolve => require(['../pages/chacun/zjxq.vue'], resolve),
    },
    /**
     * 登录路由
     */
    {
        path: '/login',
        redirect: '/jglogin'
    },
    {
        path: '/login',
        name: 'login',
        meta: {
            title: '登录首页'
        },
        component: resolve => require(['../pages/login/login.vue'], resolve),
        children: [
            {
                path: '/gelogin',
                name: 'gelogin',
                meta: {
                    title: '个人登录'
                },
                component: resolve => require(['../pages/login/gelogin.vue'], resolve),
            },
            {
                path: '/jglogin',
                name: 'jglogin',
                meta: {
                    title: '机构登录'
                },
                component: resolve => require(['../pages/login/jglogin.vue'], resolve),

            },
            {
                path: '/zjlogin',
                name: 'zjlogin',
                meta: {
                    title: '专家登录'
                },
                component: resolve => require(['../pages/login/zjlogin.vue'], resolve),

            },
            {
                path: '/grzc',
                name: 'grzc',
                meta: {
                    title: '个人注册'
                },
                component: resolve => require(['../pages/login/grzc.vue'], resolve),

            },
            {
                path: '/jgzc',
                name: 'jgzc',
                meta: {
                    title: '机构注册'
                },
                component: resolve => require(['../pages/login/jgzc.vue'], resolve),

            },
            {
                path: '/grwjmm',
                name: 'grwjmm',
                meta: {
                    title: '忘记密码',
                    note: '个人会员'
                },
                component: resolve => require(['../pages/login/grwjmm.vue'], resolve),

            },
            {
                path: '/jgwjmm',
                name: 'jgwjmm',
                meta: {
                    title: '忘记密码',
                    note: '机构会员'
                },
                component: resolve => require(['../pages/login/jgwjmm.vue'], resolve),

            },
            {
                path: '/zjwjmm',
                name: 'zjwjmm',
                meta: {
                    title: '忘记密码',
                    note: '专家会员'
                },
                component: resolve => require(['../pages/login/zjwjmm.vue'], resolve),

            },

        ]
    },

    {
        path: '/logingr',
        redirect: '/gelogingr'
    },
    {
        path: '/logingr',
        name: 'logingr',
        meta: {
            title: '登录首页'
        },
        component: resolve => require(['../pages/login/grlogin/login.vue'], resolve),
        children: [
            {
                path: '/gelogingr',
                name: 'gelogingr',
                meta: {
                    title: '个人登录'
                },
                component: resolve => require(['../pages/login/grlogin/gelogin.vue'], resolve),
            }, {
                path: '/grzcgr',
                name: 'grzcgr',
                meta: {
                    title: '个人注册'
                },
                component: resolve => require(['../pages/login/grlogin/grzc.vue'], resolve),

            },

            {
                path: '/grwjmmgr',
                name: 'grwjmmgr',
                meta: {
                    title: '忘记密码',
                    note: '个人会员'
                },
                component: resolve => require(['../pages/login/grlogin/grwjmm.vue'], resolve),

            },

        ]
    },
    {
        path: '/loginjg',
        redirect: '/geloginjg'
    },
    {
        path: '/loginjg',
        name: 'loginjg',
        meta: {
            title: '登录首页'
        },
        component: resolve => require(['../pages/login/jglogin/login.vue'], resolve),
        children: [
            {
                path: '/geloginjg',
                name: 'geloginjg',
                meta: {
                    title: '机构登录'
                },
                component: resolve => require(['../pages/login/jglogin/jglogin.vue'], resolve),
            },
            {
                path: '/jgzcjg',
                name: 'jgzcjg',
                meta: {
                    title: '机构注册'
                },
                component: resolve => require(['../pages/login/jglogin/jgzc.vue'], resolve),

            },
            {
                path: '/jgwjmmjg',
                name: 'jgwjmmjg',
                meta: {
                    title: '忘记密码',
                    note: '机构会员'
                },
                component: resolve => require(['../pages/login/jglogin/jgwjmm.vue'], resolve),

            },
        ]
    },



];

export default routes;
